package com.atguigu.tingshu.album.service;

import com.atguigu.tingshu.model.album.BaseCategory1;
import com.atguigu.tingshu.model.album.BaseCategory3;
import com.atguigu.tingshu.model.album.BaseCategoryView;
import com.atguigu.tingshu.vo.album.AlbumCategoryVo;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

public interface BaseCategoryService extends IService<BaseCategory1> {

    //查询所有分类数据
    List<AlbumCategoryVo> findAllCategory();
    //根据三级分类Id查询专辑属性
    BaseCategoryView findCategoryByCategory3Id(Long category3Id);
    //根据一级分类id获取全部分类信息
    AlbumCategoryVo getCategoryList(Long category1Id);
    //根据一级分类id查询置顶三级分类
    List<BaseCategory3> findTopBaseCategory3(Long category1Id);
}
